import DebatePage from '@/views/DebatePage.vue'
import HomePage from '@/views/HomePage.vue'
import RoomPage from '@/views/RoomPage.vue'
import StageDebatePage from '@/views/StageDebatePage.vue'
import StagePage from '@/views/StagePage.vue'
import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      component: HomePage,
      path: '/'
    }, {
      component: DebatePage,
      path: '/debate'
    }, {
      component: RoomPage,
      path: '/room'
    }, {
      component: StagePage,
      path: '/stage'
    }, {
      component: StageDebatePage,
      path: '/stage_debate',
    }
  ],
})

export default router
